package com.atguigu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value = "comments")
@Data
public class Comment {
    @TableId(type = IdType.AUTO)
    private Integer commentId;
    private Integer articleId;
    private Integer userId;
    private String content;
    private String createdAt;
}
